package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "ANT_SUPPLIER")
public class Supplier extends BaseObject {
	@MappingColumn(columnName = "SENDER_ID", columnPk = true, columnLength = 32)
	private String senderId;

	@MappingColumn(columnName = "SENDER_NAME")
	private String senderName;

	@MappingColumn(columnName = "SENDER_LAST_DEST")
	private String senderLastDest;

	@MappingColumn(columnName = "PROVINCE_ID")
	private String provinceId;

	@MappingTable(tableName = "BASE_PROVINCE")
	private Province province;

	@MappingColumn(columnName = "CITY_ID")
	private String cityId;

	@MappingTable(tableName = "BASE_CITY")
	private City city;

	@MappingColumn(columnName = "DISTRICT_ID")
	private String districtId;

	@MappingTable(tableName = "BASE_DISTRICT")
	private District district;

	@MappingColumn(columnName = "DEPT_ID")
	private String deptId;

	@MappingTable(tableName = "ANT_DEPT")
	private Dept dept;

	@MappingColumn(columnName = "USER_ID")
	private String userId;

	@MappingTable(tableName = "ANT_USER")
	private User user;

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getSenderLastDest() {
        return senderLastDest;
    }

    public void setSenderLastDest(String senderLastDest) {
        this.senderLastDest = senderLastDest;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public District getDistrict() {
        return district;
    }

    public void setDistrict(District district) {
        this.district = district;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
